Xbasic

*CRC Function

Syntax

Result as N = *CRC(text as c)

Arguments

text

A text string.

Description

Returns a CRC value for text. The *CRC() function generates a 32 bit Cyclic Redundancy Code (CRC) from a text string.

Example

? *crc("this is some text")
= 4294915494
? *to_hex(*crc("this is some text"))
= "FFFF35A6"

See Also